package com.google.code.mamule.delivery;

import com.google.code.mamule.mail.Mail;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created with IntelliJ IDEA. User: borck_000 ; Date: 12/25/13 ; Time: 5:18 PM
 */
public class MockDelivery implements MailDelivery {

  private final static Logger log = LoggerFactory.getLogger(MockDelivery.class);

  @Override
  public void announceMailForDelivery(final Iterable<Mail> deliverUs) {
    for (Mail each : deliverUs) {
      log.info("received mail delivery announcement for {}", each);
    }
  }
}
